First create the dialog box that will incorporate the controls from the standard parameters dialog box. This dialog box must contain a user item that is large enough to hold the controls that will be added. For example, if you are using 12-point Chicago as your dialog box font, the user item should be 250 pixels wide and 300 pixels high. If you are using 9-point Geneva, the user item should be 150 pixels wide and 200 pixels high.
Figure 10 shows a dialog box being edited in ResEdit. The dialog box contains two static text items and an OK button. It also contains a user item that defines the area where the controls from the standard parameters dialog box will appear.
Figure 10 A sample application dialog box before the effects controls from the standard parameters dialog box are added.
Figure 11 shows the same dialog box in the running application after the effects controls have been incorporated.
Note
You should make sure that the dialog box resource is marked as not initially visible. You then call a QuickTime function to add the effects controls from the standard parameter dialog box to the application's dialog box before showing it.
Figure 11 The dialog box shown in Figure 10 after incorporation of the effects controls.
| Previous | Chapter Contents | Chapter Top | Next |